/**
 * 全局应用状态类型定义
 */

export interface User {
  id: string
  name: string
  email: string
  avatar?: string
  bio?: string
}

export interface Feature {
  id: string
  title: string
  description: string
  icon: string
  color: string
}

export interface Contact {
  email: string
  phone?: string
  address?: string
  socialLinks: SocialLink[]
}

export interface SocialLink {
  platform: string
  url: string
  icon: string
}

export interface AppState {
  user: User | null
  features: Feature[]
  contact: Contact
  loading: boolean
  theme: 'light' | 'dark'
  locale: string
}